package net.simpleframework.workflow;

import java.util.Map;

import net.simpleframework.ado.db.IBeanManagerAware;
import net.simpleframework.organization.IUser;

/**
 * 这是一个开源的软件，请在LGPLv3下合法使用、修改或重新发布。
 * 
 * @author 陈侃(cknet@126.com, 13910090885)
 *         http://code.google.com/p/simpleframework/
 *         http://www.simpleframework.net
 */
public interface IProcessManager extends IVariableAware<ProcessBean>, IListenerAware<ProcessBean>,
		IScriptAware<ProcessBean>, IBeanManagerAware<ProcessBean> {

	ProcessBean createProcess(InitiateItem item, IUser user, String topic);

	ProcessBean createProcess(InitiateItem item, IUser user, String topic,
			Map<String, Object> variables);
}
